﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace ugrow_silverlight.Log_in
{
    public partial class LogIn : UserControl
    {
        public LogIn()
        {
            InitializeComponent();
        }

        public void ClearFields()
        {
            tb_email.Text = "";
            tb_pass.Password = "";
        }

        private void label4_MouseEnter(object sender, MouseEventArgs e)
        {
            l_ok.Foreground = new SolidColorBrush(Colors.Green);
            Cursor = Cursors.Hand;
        }

        private void label4_MouseLeave(object sender, MouseEventArgs e)
        {
            l_ok.Foreground = new SolidColorBrush(Colors.Black);
            Cursor = Cursors.Arrow;
        }

        private void label4_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            
        }

        private void l_forgotpass_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {

        }

        private void l_forgotpass_MouseEnter(object sender, MouseEventArgs e)
        {
            l_forgotpass.Foreground = new SolidColorBrush(Colors.Green);
            Cursor = Cursors.Hand;
        }

        private void l_forgotpass_MouseLeave(object sender, MouseEventArgs e)
        {
            l_forgotpass.Foreground = new SolidColorBrush(Colors.Black);
            Cursor = Cursors.Arrow;
        }
    }
}
